<!DOCTYPE html>
<html lang="zh-CN">
<meta charset="utf-8">
<body>
	<div>
		<table class="table table-striped table-hover">
			<tr><th>序号</th><th>用户名</th><th>手机号</th><th>省</th><th>市</th><th>区/县</th><th>加入时间</th><th>操作</th></tr>
			<tr th:each="user,s : ${page.data}">
				<td th:text="${(page.pageNum - 1) * page.pageSize + (s.index + 1)}"></td>
				<td th:text="${user.userName}"></td>
				<td th:text="${user.userPhone}"></td>
				<td th:text="${user.userProvince}"></td>
				<td th:text="${user.userCity}"></td>
				<td th:text="${user.userCounty}"></td>
				<td th:text="${#dates.format(user.createTime, 'yyyy-MM-dd HH:ss')}"></td>
				<td>
					<span th:onclick="'javascript:delUser('+${user.id}+')'">删除</span>
				</td>
			</tr>
		</table>
	</div>
	<div>
		<nav aria-label="...">
		  <ul class="pager">
		    <li><a href="#" th:onclick="'javascript:prePage('+${page.pageNum}+','+${page.total}+')'">上一页</a></li>
		    <li><a href="#" th:onclick="'javascript:nextPage('+${page.pageNum}+','+${page.total}+')'">下一页</a></li>
		  </ul>
		</nav>
	</div>
</body>
</html>